package com.lg.thread.day01;

/**
 * 共享变量
 * @author LG93
 * @create 2017-08-09 17:19
 **/
public class Test5 {

    public static void main(String[] args) {
        MyThread5 myThread5 = new MyThread5();

        Thread threadA = new Thread(myThread5, "A");
        Thread threadB = new Thread(myThread5, "B");
        Thread threadC = new Thread(myThread5, "C");
        Thread threadD = new Thread(myThread5, "D");

        threadA.start();
        threadB.start();
        threadC.start();
        threadD.start();
    }
}
